package com.blb.java09mybatisplus.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.java09mybatisplus.entity.Score;
import com.blb.java09mybatisplus.mapper.ScoreMapper;
import com.blb.java09mybatisplus.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreMapper, Score> implements ScoreService {

    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public Page<Score> findScoresPage(Page<Score> page) {
        return scoreMapper.selectScoresPage(page);
    }
}
